#include "graph.h"
#include <iostream>
using namespace std;


/*
测试函数main.cpp：
*/

int main() {
    cout << "Started" << endl;
    int adjacentwhat;
    cout << "使用邻接矩阵请扣1，使用邻接表请扣0"<<endl;
    cin >> adjacentwhat;
    Graph Gr;
    if (adjacentwhat) {
        Gr.CreateMGraph();
        Gr.MChoice();
    }
        ///如果使用邻接表存储
    else{
        Gr.CreateLGraph(Gr.g);
        Gr.LChoice(Gr.g);
    }
    return 0;
};
